/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Aug 21, 2009 10:28:51 PM $
 *
 * Author: Eric Yang
 * Date  : Aug 21, 2009 10:28:51 PM
 *
 */
package com.gooex.domain.company;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.gooex.domain.common.Region;
import com.gooex.domain.organization.User;


/**
 * 公司信息
 * 
 * @author Eric Yang
 * @version 1.0
 */
public class Company implements Serializable {
	/** PK */
	private String id;

	/** 公司名称 */
	private String name;

	/** 公司地址 */
	private String address;

	/** 公司电话 */
	private String tel;

	/** 公司邮编 */
	private String postcode;

	/** 移动电话 */
	private String phone;

	/** email */
	private String email;

	/** 公司介绍 */
	private String introduction;

	/** 公司logo地址 */
	private String logo;

	/** 公司主页 */
	private String homepage;

	/** 公司所属用户 */
	private User user;

	/** 是否可信任(通过审核) */
	private boolean accredited = false;

	/** 公司上传的验证文件 */
	List<CompanyFile> files = new ArrayList<CompanyFile>();

	private Region region;

	/* ===========setter/getter============================= */
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getHomepage() {
		return homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public boolean isAccredited() {
		return accredited;
	}

	public void setAccredited(boolean accredited) {
		this.accredited = accredited;
	}

	public List<CompanyFile> getFiles() {
		return files;
	}

	public void setFiles(List<CompanyFile> files) {
		this.files = files;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}

}
